<?php
/**
 * Created by PhpStorm.
 * User: Dark
 * Date: 2015/8/17
 * Time: 14:49
 */

namespace Admin\Model;


use Think\Model;

class GoodsModel extends Model {
    /*
     * 根据分类查找
     */
    public function getGoodsByTypeID($typeID) {
        return $this->where('goodstype_id='.$typeID)->select();
    }

    /*
     *
     */
}